package io.renren.modules.canteens.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.renren.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 食材采购表
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-11-22
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("canteens_stock_order")
public class StockOrderEntity   {
	private static final long serialVersionUID = 1L;

    /**
     * 食材采购表id
     */
    @TableId
	private Long stockOrderId;
    /**
     * 食堂id
     */
	private Long canteenId;
    /**
     * 预估用餐人数
     */
	private Integer estimateNum;
    /**
     * 实际用餐人数
     */
	private Integer practicalNum;
    /**
     * 用餐时间
     */
	private Date mealTime;

    /**
     * 状态
     */
	private Integer status;
    /**
     * 食堂管理员审核id
     */
	private Long canteenAdminId;
    /**
     * 审核时间
     */
	private Date auditTime;
    /**
     * 审核意见
     */
	private String auditOpinion;
    /**
     * 供应商id
     */
	private Long supplierId;
    /**
     * 报价完成时间
     */
	private Date quotationTime;
    /**
     * 供应商备注
     */
	private String supplierRemark;
    /**
     * 仓储员id
     */
	private Long storehouseClerkId;
    /**
     * 收货拍照完成时间
     */
	private Date receivingGoodsTime;
    /**
     * 仓储员备注
     */
	private String storehouseClerkRemark;
    /**
     * 食堂主厨id
     */
	private Long chedId;
    /**
     * 确认到货时间
     */
	private Date confirmTime;
    /**
     * 食堂主厨备注
     */
	private String chedRemark;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createDate;
}